package cn.aitrox.ry.service.auth.dao;

import cn.aitrox.ry.common.dao.BaseDao;
import cn.aitrox.ry.service.auth.entity.AuthPermissionResourceEntity;

import java.util.List;

public interface AuthPermissionResourceDao extends BaseDao<AuthPermissionResourceEntity> {

    void batchInsert(List<AuthPermissionResourceEntity> list);

    void deleteByPermissionIdResourceIds(Integer permissionId, List<Integer> resourceIds);

    List<AuthPermissionResourceEntity> findByPermissionIds(List<Integer> permissionIds);
}
